<html>
<head>
<title><?
echo SITE_NAME;
?> Admin Interface</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?=$html->css('admin');?>
</head>
<body bgcolor="#636D77" background="<?=APP_ROOT;?>/img/bg_grad.jpg"
	style="background-repeat: repeat-x;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td align="center"><br>
		<br>
		<br>

		<table  cellspacing="0" cellpadding="0" border="0">
			<tbody>
				<tr>
					<td colspan="3" background="<?=APP_ROOT;?>/img/top.png" height="28"  style="background-position: center; background-repeat: no-repeat;"></td>
				</tr>
				<tr>
					<td width="20" height="351" background="<?=APP_ROOT;?>/img/left.png"></td>
					<td valign="top" background="<?=APP_ROOT;?>/img/login_grad.jpg" align="center" class="textbold"><br />
					<br />
					<br />
							<?php
							echo $html->image ( 'images/web_Final_Home_03.png' );
							?>
							<br />
					<br />
					<br />

			<table width="400" border="0" cellpadding="15" cellspacing="0">
				<tr> 
					<td align="right">
                    <?php echo $form->create('User', array('action' => 'login')); ?>
                    	<table  border="0">
                    	  <tr>
                    	  	<td align="right" class="error-message"><?php $session->flash('auth'); ?> &nbsp;</td>
                    	  </tr>
                          <tr>
                            <td align="right"><?php echo $form->input('username', array('label' => 'Username:')); ?></td>
                          </tr>
                          <tr>
                            <td align="right"><?php echo $form->input('password', array('label' => 'Password:')); ?></td>
                          </tr>
                          <tr>
                            <td align="right"><?php echo $form->submit('Login'); ?></td>
                          </tr>
                        </table>
                    <?php echo $form->end(); ?>
					</td>
				</tr>
			</table>	
					</td>
					<td width="17" background="<?=APP_ROOT;?>/img/right.png"></td>
				</tr>
			</tbody>
		</table>
		<a href="mailto:info@mazestudio.com"><img border="0"
			style="position: relative; top: -25px;"
			src="<?=APP_ROOT;?>/img/LogIn_matit_logo.jpg" /></a>
	
	</tr>
</table>
</body>
</html>

